from django.contrib import admin

# Register your models here.
from .models import ShareInfo


class SharedAdmin(admin.ModelAdmin):
    fields = ["share_date", "share_title"]
    list_display = ["share_title", "share_date", "was_shared_recently"]
    list_filter = ["share_date"]
    search_fields = ["share_title", "share_num"]


admin.site.register(ShareInfo, SharedAdmin)
